﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Event_SG_EWDT.TestForm
{
    public partial class dummy_test_defaultbutton : System.Web.UI.Page
    {
        string data = "btn2";

        protected void Page_Load(object sender, EventArgs e)
        {
            button2.Attributes.Add("a href", @"javascript:window.location=%22http://www.facebook.com/sharer.php?u=%22+encodeURIComponent(document.location)+%22&#38;t=%22+encodeURIComponent(document.title)");
        }

        protected void button2_Click(object sender, EventArgs e)
        {
            
        }

        protected void button1_Click(object sender, EventArgs e)
        {
            foo.Text = "btn1";

        }
    }
}